const data = {
  openapi: "3.0.3",
  info: { title: "yhd-service-mes-equipment", contact: {}, version: "1.0" },
  servers: [{ url: "http://10.14.0.172:9239", description: "Inferred Url" }],
  tags: [
    { name: "报修单维修", description: "Eq Repair Form Controller" },
    { name: "设备人员绑定信息", description: "Eq Bound User Controller" },
    { name: "设备基础信息", description: "Eq Information Controller" },
    { name: "设备技能绑定信息", description: "Eq Bound Skill Controller" },
    { name: "设备点检计划", description: "Eq Check Plan Controller" },
    { name: "设备点检记录", description: "Eq Check Record Controller" },
    { name: "设备类别绑定信息", description: "Eq Bound Category Controller" },
  ],
  paths: {
    "/mes/equipment/api/v1/eqBoundCategory/bind": {
      post: {
        tags: ["设备类别绑定信息"],
        summary: "绑定",
        description: "绑定",
        operationId: "bindUsingPOST",
        requestBody: {
          content: { "application/json": { schema: { type: "string" } } },
        },
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/BaseResponse" } },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqBoundCategory/list": {
      get: {
        tags: ["设备类别绑定信息"],
        summary: "查询设备绑定的所有类别",
        description: "查询设备绑定的所有类别",
        operationId: "listByEquipmentNoUsingGET",
        parameters: [
          {
            name: "equipmentNo",
            in: "query",
            description: "the equipment no",
            required: true,
            style: "form",
            allowReserved: true,
            schema: { type: "string" },
          },
        ],
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": {
                schema: { $ref: "#/components/schemas/EqBoundCategoryPO" },
              },
            },
          },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqBoundCategory/material/list": {
      get: {
        tags: ["设备类别绑定信息"],
        summary: "查询指定设备绑定的所有原料类别",
        description: "查询指定设备绑定的所有原料类别",
        operationId: "listMaterialByEquipmentNoUsingGET",
        parameters: [
          {
            name: "equipmentNo",
            in: "query",
            description: "the equipment no",
            required: true,
            style: "form",
            allowReserved: true,
            schema: { type: "string" },
          },
        ],
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": {
                schema: { $ref: "#/components/schemas/EqBoundCategoryPO" },
              },
            },
          },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqBoundCategory/product/list": {
      get: {
        tags: ["设备类别绑定信息"],
        summary: "查询设备绑定的所有产品类别",
        description: "查询设备绑定的所有产品类别",
        operationId: "listProductByEquipmentNoUsingGET",
        parameters: [
          {
            name: "equipmentNo",
            in: "query",
            description: "the equipment no",
            required: true,
            style: "form",
            allowReserved: true,
            schema: { type: "string" },
          },
        ],
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": {
                schema: { $ref: "#/components/schemas/EqBoundCategoryPO" },
              },
            },
          },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqBoundCategory/unbind": {
      delete: {
        tags: ["设备类别绑定信息"],
        summary: "解绑",
        description: "解绑,多个categoryNo用 , 隔开",
        operationId: "unbindUsingDELETE",
        parameters: [
          {
            name: "categoryNo",
            in: "query",
            description: "the categoryNo",
            required: true,
            style: "form",
            allowReserved: true,
            schema: { type: "string" },
          },
          {
            name: "equipmentNo",
            in: "query",
            description: "the equipment no",
            required: true,
            style: "form",
            allowReserved: true,
            schema: { type: "string" },
          },
        ],
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/BaseResponse" } },
            },
          },
          204: { description: "No Content" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
        },
      },
    },
    "/mes/equipment/api/v1/eqBoundSkill/bind": {
      post: {
        tags: ["设备技能绑定信息"],
        summary: "绑定",
        description: "绑定",
        operationId: "bindUsingPOST_1",
        requestBody: {
          content: { "application/json": { schema: { type: "string" } } },
        },
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/BaseResponse" } },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqBoundSkill/list": {
      get: {
        tags: ["设备技能绑定信息"],
        summary: "查询指定设备绑定的所有技能",
        description: "查询指定设备绑定的所有技能",
        operationId: "listByEquipmentNoUsingGET_1",
        parameters: [
          {
            name: "equipmentNo",
            in: "query",
            description: "the equipment no",
            required: true,
            style: "form",
            allowReserved: true,
            schema: { type: "string" },
          },
        ],
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": {
                schema: { $ref: "#/components/schemas/EqBoundSkillPO" },
              },
            },
          },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqBoundSkill/page": {
      post: {
        tags: ["设备技能绑定信息"],
        summary: "分页查询",
        description: "分页查询",
        operationId: "pageUsingPOST",
        requestBody: {
          content: { "application/json": { schema: { type: "string" } } },
        },
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": {
                schema: { $ref: "#/components/schemas/IPage«EqBoundSkillPO»" },
              },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqBoundSkill/pageBySkillNo": {
      post: {
        tags: ["设备技能绑定信息"],
        summary: "根据技能编号分页查询设备信息",
        description: "根据技能编号分页查询设备信息",
        operationId: "pageBySkillNoUsingPOST",
        requestBody: {
          content: { "application/json": { schema: { type: "string" } } },
        },
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": {
                schema: { $ref: "#/components/schemas/IPage«EqBoundSkillPO»" },
              },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqBoundSkill/unbind": {
      delete: {
        tags: ["设备技能绑定信息"],
        summary: "解绑",
        description: "解绑,多个skillNo用 , 隔开",
        operationId: "unbindUsingDELETE_1",
        parameters: [
          {
            name: "equipmentNo",
            in: "query",
            description: "the equipment no",
            required: true,
            style: "form",
            allowReserved: true,
            schema: { type: "string" },
          },
          {
            name: "skillNo",
            in: "query",
            description: "the skillNo",
            required: true,
            style: "form",
            allowReserved: true,
            schema: { type: "string" },
          },
        ],
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/BaseResponse" } },
            },
          },
          204: { description: "No Content" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
        },
      },
    },
    "/mes/equipment/api/v1/eqBoundUser/bind": {
      post: {
        tags: ["设备人员绑定信息"],
        summary: "绑定",
        description: "绑定",
        operationId: "bindUsingPOST_2",
        requestBody: {
          content: { "application/json": { schema: { type: "string" } } },
        },
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/BaseResponse" } },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqBoundUser/list": {
      get: {
        tags: ["设备人员绑定信息"],
        summary: "查询指定设备绑定的所有用户",
        description: "查询指定设备绑定的所有用户",
        operationId: "listByEquipmentNoUsingGET_2",
        parameters: [
          {
            name: "equipmentNo",
            in: "query",
            description: "the equipment no",
            required: true,
            style: "form",
            allowReserved: true,
            schema: { type: "string" },
          },
        ],
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/EqBoundUserPO" } },
            },
          },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqBoundUser/unbind": {
      delete: {
        tags: ["设备人员绑定信息"],
        summary: "解绑",
        description: "解绑",
        operationId: "unbindUsingDELETE_2",
        parameters: [
          {
            name: "empNo",
            in: "query",
            description: "the emp no",
            required: true,
            style: "form",
            allowReserved: true,
            schema: { type: "string" },
          },
          {
            name: "equipmentNo",
            in: "query",
            description: "the equipment no",
            required: true,
            style: "form",
            allowReserved: true,
            schema: { type: "string" },
          },
        ],
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/BaseResponse" } },
            },
          },
          204: { description: "No Content" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
        },
      },
    },
    "/mes/equipment/api/v1/eqCheckPlan/create": {
      post: {
        tags: ["设备点检计划"],
        summary: "新增",
        description: "新增",
        operationId: "createUsingPOST",
        requestBody: {
          content: { "application/json": { schema: { type: "string" } } },
        },
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/BaseResponse" } },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqCheckPlan/delete": {
      delete: {
        tags: ["设备点检计划"],
        summary: "删除",
        description: "删除",
        operationId: "deleteUsingDELETE",
        parameters: [
          {
            name: "equipmentNo",
            in: "query",
            description: "the equipment no",
            required: true,
            style: "form",
            allowReserved: true,
            schema: { type: "string" },
          },
          {
            name: "id",
            in: "query",
            description: "the id",
            required: true,
            style: "form",
            allowReserved: true,
            schema: { type: "integer", format: "int64" },
          },
        ],
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/BaseResponse" } },
            },
          },
          204: { description: "No Content" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
        },
      },
    },
    "/mes/equipment/api/v1/eqCheckPlan/list": {
      get: {
        tags: ["设备点检计划"],
        summary: "根据设备编号查询点检项目列表",
        description: "根据设备编号查询点检项目列表",
        operationId: "listByEquipmentNoUsingGET_3",
        parameters: [
          {
            name: "equipmentNo",
            in: "query",
            description: "the equipment no",
            required: true,
            style: "form",
            allowReserved: true,
            schema: { type: "string" },
          },
        ],
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/EqCheckPlanPO" } },
            },
          },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqCheckPlan/update": {
      put: {
        tags: ["设备点检计划"],
        summary: "修改",
        description: "修改",
        operationId: "updateUsingPUT",
        requestBody: {
          content: { "application/json": { schema: { type: "string" } } },
        },
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/BaseResponse" } },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqCheckRecord/add": {
      post: {
        tags: ["设备点检记录"],
        summary: "新增",
        description: "新增",
        operationId: "addUsingPOST",
        requestBody: {
          content: { "application/json": { schema: { type: "string" } } },
        },
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/BaseResponse" } },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqCheckRecord/list": {
      get: {
        tags: ["设备点检记录"],
        summary: "根据设备编号查询设备点检记录",
        description: "根据设备编号查询设备点检记录",
        operationId: "listByEquipmentNoUsingGET_4",
        parameters: [
          {
            name: "equipmentNo",
            in: "query",
            description: "the equipment no",
            required: true,
            style: "form",
            allowReserved: true,
            schema: { type: "string" },
          },
        ],
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": {
                schema: { $ref: "#/components/schemas/EqCheckRecordPO" },
              },
            },
          },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqCheckRecord/page": {
      post: {
        tags: ["设备点检记录"],
        summary: "分页查询",
        description: "分页查询",
        operationId: "pageUsingPOST_1",
        requestBody: {
          content: { "application/json": { schema: { type: "string" } } },
        },
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": {
                schema: { $ref: "#/components/schemas/IPage«EqCheckRecordPO»" },
              },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqInformation": {
      put: {
        tags: ["设备基础信息"],
        summary: "修改",
        description: "修改",
        operationId: "updateUsingPUT_1",
        requestBody: {
          content: { "application/json": { schema: { type: "string" } } },
        },
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/BaseResponse" } },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
      post: {
        tags: ["设备基础信息"],
        summary: "新增",
        description: "新增",
        operationId: "createUsingPOST_1",
        requestBody: {
          content: { "application/json": { schema: { type: "string" } } },
        },
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/BaseResponse" } },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqInformation/page": {
      post: {
        tags: ["设备基础信息"],
        summary: "分页查询",
        description: "分页查询",
        operationId: "pageUsingPOST_2",
        requestBody: {
          content: { "application/json": { schema: { type: "string" } } },
        },
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": {
                schema: { $ref: "#/components/schemas/EqInformationPO" },
              },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqInformation/{equipmentNo}": {
      get: {
        tags: ["设备基础信息"],
        summary: "根据设备编号获取设备信息",
        description: "根据设备编号获取设备信息",
        operationId: "getByEquipmentNoUsingGET",
        parameters: [
          {
            name: "equipmentNo",
            in: "path",
            description: "the equipment no",
            required: true,
            style: "simple",
            allowReserved: false,
            schema: { type: "string" },
          },
        ],
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": {
                schema: { $ref: "#/components/schemas/EqInformationPO" },
              },
            },
          },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqInformation/{equipmentNo}/activate": {
      put: {
        tags: ["设备基础信息"],
        summary: "生效",
        description: "生效,多个equipmentNo用 , 隔开",
        operationId: "activateUsingPUT",
        parameters: [
          {
            name: "equipmentNo",
            in: "path",
            description: "the equipment no",
            required: true,
            style: "simple",
            allowReserved: false,
            schema: { type: "string" },
          },
        ],
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/BaseResponse" } },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqInformation/{equipmentNo}/deactivate": {
      put: {
        tags: ["设备基础信息"],
        summary: "失效",
        description: "失效",
        operationId: "deactivateUsingPUT",
        parameters: [
          {
            name: "equipmentNo",
            in: "path",
            description: "the equipment no",
            required: true,
            style: "simple",
            allowReserved: false,
            schema: { type: "string" },
          },
        ],
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/BaseResponse" } },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqRepairForm/activate/{id}": {
      put: {
        tags: ["报修单维修"],
        summary: "报修单生效",
        description: "生效接口",
        operationId: "activateUsingPUT_1",
        parameters: [
          {
            name: "id",
            in: "path",
            description: "the id",
            required: true,
            style: "simple",
            allowReserved: false,
            schema: { type: "integer", format: "int64" },
          },
        ],
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/BaseResponse" } },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqRepairForm/add": {
      post: {
        tags: ["报修单维修"],
        summary: "新增设备报修单",
        description: "新增接口",
        operationId: "addUsingPOST_1",
        requestBody: {
          content: { "application/json": { schema: { type: "string" } } },
        },
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/BaseResponse" } },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqRepairForm/completeHandle": {
      put: {
        tags: ["报修单维修"],
        summary: "维修处理完成接口",
        description: "维修处理完成接口",
        operationId: "completeHandleUsingPUT",
        parameters: [
          {
            name: "feedback",
            in: "query",
            description: "the feedback",
            required: true,
            style: "form",
            allowReserved: true,
            schema: { type: "string" },
          },
          {
            name: "id",
            in: "query",
            description: "the id",
            required: true,
            style: "form",
            allowReserved: true,
            schema: { type: "integer", format: "int64" },
          },
          {
            name: "maintainResult",
            in: "query",
            description: "the maintain result",
            required: true,
            style: "form",
            allowReserved: true,
            schema: { type: "string" },
          },
        ],
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/BaseResponse" } },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqRepairForm/deactivate/{id}": {
      put: {
        tags: ["报修单维修"],
        summary: "报修单失效",
        description: "失效接口",
        operationId: "deactivateUsingPUT_1",
        parameters: [
          {
            name: "id",
            in: "path",
            description: "the id",
            required: true,
            style: "simple",
            allowReserved: false,
            schema: { type: "integer", format: "int64" },
          },
        ],
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/BaseResponse" } },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqRepairForm/handleRepairItem": {
      put: {
        tags: ["报修单维修"],
        summary: "报修受理确认",
        description: "报修受理确认接口",
        operationId: "handleRepairItemUsingPUT",
        parameters: [
          {
            name: "id",
            in: "query",
            description: "the id",
            required: true,
            style: "form",
            allowReserved: true,
            schema: { type: "integer", format: "int64" },
          },
        ],
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/BaseResponse" } },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqRepairForm/item/page": {
      post: {
        tags: ["报修单维修"],
        summary: "维修清单分页查询",
        description: "维修清单分页查询接口",
        operationId: "itemPageUsingPOST",
        requestBody: {
          content: {
            "application/json": {
              schema: {
                $ref: "#/components/schemas/PageRequest«EqRepairItemPO»",
              },
            },
          },
        },
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": {
                schema: { $ref: "#/components/schemas/IPage«EqRepairItemPO»" },
              },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqRepairForm/page": {
      post: {
        tags: ["报修单维修"],
        summary: "分页查询",
        description: "分页查询接口",
        operationId: "pageUsingPOST_3",
        requestBody: {
          content: { "application/json": { schema: { type: "string" } } },
        },
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": {
                schema: { $ref: "#/components/schemas/IPage«EqRepairFormPO»" },
              },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqRepairForm/repairItem/add": {
      post: {
        tags: ["报修单维修"],
        summary: "设备新增",
        description: "设备新增",
        operationId: "repairItemAddUsingPOST",
        requestBody: {
          content: { "application/json": { schema: { type: "string" } } },
        },
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/BaseResponse" } },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqRepairForm/repairItem/delete": {
      delete: {
        tags: ["报修单维修"],
        summary: "移除设备",
        description: "移除设备多个repairNo用 , 隔开",
        operationId: "repairItemDeleteUsingDELETE",
        parameters: [
          {
            name: "equipmentNo",
            in: "query",
            description: "the equipment no",
            required: true,
            style: "form",
            allowReserved: true,
            schema: { type: "string" },
          },
          {
            name: "repairNo",
            in: "query",
            description: "the repair no",
            required: true,
            style: "form",
            allowReserved: true,
            schema: { type: "string" },
          },
        ],
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/BaseResponse" } },
            },
          },
          204: { description: "No Content" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
        },
      },
    },
    "/mes/equipment/api/v1/eqRepairForm/repairItem/list": {
      get: {
        tags: ["报修单维修"],
        summary: "根据报修单号查询设备列表",
        description: "根据报修单号查询设备列表",
        operationId: "listByRepairNoUsingGET",
        parameters: [
          {
            name: "repairNo",
            in: "query",
            description: "the repair no",
            required: true,
            style: "form",
            allowReserved: true,
            schema: { type: "string" },
          },
        ],
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": {
                schema: { $ref: "#/components/schemas/EqRepairItemPO" },
              },
            },
          },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqRepairForm/update": {
      put: {
        tags: ["报修单维修"],
        summary: "修改设备报修单",
        description: "修改接口",
        operationId: "updateUsingPUT_2",
        requestBody: {
          content: { "application/json": { schema: { type: "string" } } },
        },
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": { schema: { $ref: "#/components/schemas/BaseResponse" } },
            },
          },
          201: { description: "Created" },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
    "/mes/equipment/api/v1/eqRepairForm/{id}": {
      get: {
        tags: ["报修单维修"],
        summary: "查看设备报修详情",
        description: "查看接口",
        operationId: "getUsingGET",
        parameters: [
          {
            name: "id",
            in: "path",
            description: "the id",
            required: true,
            style: "simple",
            allowReserved: false,
            schema: { type: "integer", format: "int64" },
          },
        ],
        responses: {
          200: {
            description: "OK",
            content: {
              "*/*": {
                schema: { $ref: "#/components/schemas/EqRepairFormPO" },
              },
            },
          },
          401: { description: "Unauthorized" },
          403: { description: "Forbidden" },
          404: { description: "Not Found" },
        },
      },
    },
  },
  components: {
    schemas: {
      BaseResponse: {
        title: "BaseResponse",
        type: "object",
        properties: {
          rt_code: { type: "integer", format: "int32" },
          rt_msg: { type: "string" },
        },
      },
      EqBoundCategoryPO: {
        title: "EqBoundCategoryPO",
        type: "object",
        properties: {
          categoryName: {
            maxLength: 255,
            minLength: 0,
            type: "string",
            description: "类别名称",
          },
          categoryNo: {
            maxLength: 50,
            minLength: 0,
            type: "string",
            description: "类别编号",
          },
          categoryType: {
            type: "string",
            description: "类别类型 0原材料，1产品",
            format: "byte",
          },
          createBy: { type: "string", description: "创建人工号" },
          createTime: {
            type: "string",
            description: "创建时间",
            format: "date-time",
          },
          equipmentNo: {
            maxLength: 50,
            minLength: 0,
            type: "string",
            description: "设备编号",
          },
          flag: {
            type: "integer",
            description: "使用标识 0正常，1失效",
            format: "int32",
          },
          id: { type: "integer", description: "物理主键", format: "int64" },
          updateBy: { type: "string", description: "更新人工号" },
          updateTime: {
            type: "string",
            description: "更新时间",
            format: "date-time",
          },
        },
        description: "设备类别绑定信息",
      },
      EqBoundSkillPO: {
        title: "EqBoundSkillPO",
        type: "object",
        properties: {
          createBy: { type: "string", description: "创建人工号" },
          createTime: {
            type: "string",
            description: "创建时间",
            format: "date-time",
          },
          equipmentNo: {
            maxLength: 50,
            minLength: 0,
            type: "string",
            description: "设备编号",
          },
          flag: {
            type: "integer",
            description: "使用标识 0正常，1失效",
            format: "int32",
          },
          id: { type: "integer", description: "物理主键", format: "int64" },
          skillName: {
            maxLength: 255,
            minLength: 0,
            type: "string",
            description: "技能名称",
          },
          skillNo: {
            maxLength: 50,
            minLength: 0,
            type: "string",
            description: "技能编号",
          },
          updateBy: { type: "string", description: "更新人工号" },
          updateTime: {
            type: "string",
            description: "更新时间",
            format: "date-time",
          },
        },
        description: "设备技能绑定信息",
      },
      EqBoundUserPO: {
        title: "EqBoundUserPO",
        type: "object",
        properties: {
          createBy: { type: "string", description: "创建人工号" },
          createTime: {
            type: "string",
            description: "创建时间",
            format: "date-time",
          },
          departmentName: {
            maxLength: 50,
            minLength: 0,
            type: "string",
            description: "部门名称",
          },
          empName: {
            maxLength: 100,
            minLength: 0,
            type: "string",
            description: "员工名称",
          },
          empNo: {
            maxLength: 50,
            minLength: 0,
            type: "string",
            description: "员工工号",
          },
          equipmentNo: {
            maxLength: 50,
            minLength: 0,
            type: "string",
            description: "设备编号",
          },
          flag: {
            type: "integer",
            description: "使用标识 0正常，1失效",
            format: "int32",
          },
          id: { type: "integer", description: "物理主键", format: "int64" },
          postName: {
            maxLength: 50,
            minLength: 0,
            type: "string",
            description: "岗位名称",
          },
          updateBy: { type: "string", description: "更新人工号" },
          updateTime: {
            type: "string",
            description: "更新时间",
            format: "date-time",
          },
        },
        description: "设备操作人员信息",
      },
      EqCheckPlanPO: {
        title: "EqCheckPlanPO",
        type: "object",
        properties: {
          checkItem: {
            maxLength: 255,
            minLength: 0,
            type: "string",
            description: "点检项目",
          },
          checkPeriod: {
            maxLength: 50,
            minLength: 0,
            type: "string",
            description: "点检周期",
          },
          createBy: { type: "string", description: "创建人工号" },
          createTime: {
            type: "string",
            description: "创建时间",
            format: "date-time",
          },
          equipmentName: {
            maxLength: 255,
            minLength: 0,
            type: "string",
            description: "设备名称",
          },
          equipmentNo: {
            maxLength: 50,
            minLength: 0,
            type: "string",
            description: "设备编号",
          },
          flag: {
            type: "integer",
            description: "使用标识 0正常，1失效",
            format: "int32",
          },
          id: { type: "integer", description: "物理主键", format: "int64" },
          lastCheckTime: {
            type: "string",
            description: "上一次点检日期",
            format: "date-time",
          },
          updateBy: { type: "string", description: "更新人工号" },
          updateTime: {
            type: "string",
            description: "更新时间",
            format: "date-time",
          },
        },
        description: "设备点检计划",
      },
      EqCheckRecordPO: {
        title: "EqCheckRecordPO",
        type: "object",
        properties: {
          checkItem: {
            maxLength: 4000,
            minLength: 0,
            type: "string",
            description: "点检项目",
          },
          checkResult: {
            maxLength: 500,
            minLength: 0,
            type: "string",
            description: "点检结果",
          },
          checkTime: {
            type: "string",
            description: "点检日期",
            format: "date-time",
          },
          checkerName: {
            maxLength: 255,
            minLength: 0,
            type: "string",
            description: "点检员名称",
          },
          checkerNo: {
            maxLength: 50,
            minLength: 0,
            type: "string",
            description: "点检员工号",
          },
          createBy: { type: "string", description: "创建人工号" },
          createTime: {
            type: "string",
            description: "创建时间",
            format: "date-time",
          },
          equipmentName: {
            maxLength: 255,
            minLength: 0,
            type: "string",
            description: "设备名称",
          },
          equipmentNo: {
            maxLength: 50,
            minLength: 0,
            type: "string",
            description: "设备编号",
          },
          flag: {
            type: "integer",
            description: "使用标识 0正常，1失效",
            format: "int32",
          },
          id: { type: "integer", description: "物理主键", format: "int64" },
          planId: { type: "integer", description: "计划ID", format: "int64" },
          updateBy: { type: "string", description: "更新人工号" },
          updateTime: {
            type: "string",
            description: "更新时间",
            format: "date-time",
          },
        },
        description: "设备点检记录",
      },
      EqInformationPO: {
        title: "EqInformationPO",
        type: "object",
        properties: {
          centerName: {
            maxLength: 255,
            minLength: 0,
            type: "string",
            description: "所属生产管理中心名称",
          },
          centerNo: {
            maxLength: 50,
            minLength: 0,
            type: "string",
            description: "所属生产管理中心编号",
          },
          className: {
            maxLength: 255,
            minLength: 0,
            type: "string",
            description: "所属生产班组名称",
          },
          classNo: {
            maxLength: 50,
            minLength: 0,
            type: "string",
            description: "所属生产班组编号",
          },
          cncSystem: {
            maxLength: 255,
            minLength: 0,
            type: "string",
            description: "数控系统",
          },
          createBy: { type: "string", description: "创建人工号" },
          createTime: {
            type: "string",
            description: "创建时间",
            format: "date-time",
          },
          eqBoundCategoryPOS: {
            type: "array",
            items: { $ref: "#/components/schemas/EqBoundCategoryPO" },
          },
          eqBoundSkillPOS: {
            type: "array",
            items: { $ref: "#/components/schemas/EqBoundSkillPO" },
          },
          eqBoundUserPOS: {
            type: "array",
            items: { $ref: "#/components/schemas/EqBoundUserPO" },
          },
          eqCheckPlanPOS: {
            type: "array",
            items: { $ref: "#/components/schemas/EqCheckPlanPO" },
          },
          equipmentFlag: {
            type: "string",
            description: "设备状态 0关机，1开机，2工作中，3维修",
            format: "byte",
          },
          equipmentName: {
            maxLength: 255,
            minLength: 0,
            type: "string",
            description: "设备名称",
          },
          equipmentNo: {
            maxLength: 50,
            minLength: 0,
            type: "string",
            description: "设备编号",
          },
          equipmentPhoto: {
            maxLength: 255,
            minLength: 0,
            type: "string",
            description: "设备照片",
          },
          equipmentSprc: {
            maxLength: 255,
            minLength: 0,
            type: "string",
            description: "设备型号",
          },
          flag: {
            type: "integer",
            description: "使用标识 0正常，1失效",
            format: "int32",
          },
          id: { type: "integer", description: "物理主键", format: "int64" },
          outerDiameterMax: {
            type: "number",
            description: "外径加工范围",
            format: "bigdecimal",
          },
          outerDiameterMin: {
            type: "number",
            description: "外径加工范围",
            format: "bigdecimal",
          },
          planFlag: {
            type: "string",
            description: "是否计划 0无计划，1有计划",
            format: "byte",
          },
          rawMaterialMax: {
            type: "number",
            description: "原料长度范围",
            format: "bigdecimal",
          },
          rawMaterialMin: {
            type: "number",
            description: "原料长度范围",
            format: "bigdecimal",
          },
          updateBy: { type: "string", description: "更新人工号" },
          updateTime: {
            type: "string",
            description: "更新时间",
            format: "date-time",
          },
        },
        description: "设备基本信息",
      },
      EqRepairFormPO: {
        title: "EqRepairFormPO",
        type: "object",
        properties: {
          createBy: { type: "string", description: "创建人工号" },
          createTime: {
            type: "string",
            description: "创建时间",
            format: "date-time",
          },
          flag: {
            type: "integer",
            description: "使用标识 0正常，1失效",
            format: "int32",
          },
          id: { type: "integer", description: "物理主键", format: "int64" },
          processFlag: {
            maxLength: 20,
            minLength: 0,
            type: "string",
            description: "处理状态: 0待处理 1处理中 2处理完成 3取消",
          },
          repairItemPOS: {
            type: "array",
            items: { $ref: "#/components/schemas/EqRepairItemPO" },
          },
          repairNo: {
            maxLength: 50,
            minLength: 0,
            type: "string",
            description: "报修单号",
          },
          reportDescription: {
            maxLength: 1000,
            minLength: 0,
            type: "string",
            description: "报修描述",
          },
          reportTime: {
            type: "string",
            description: "报修时间",
            format: "date-time",
          },
          reporterDepartment: {
            maxLength: 255,
            minLength: 0,
            type: "string",
            description: "报修员部门",
          },
          reporterName: {
            maxLength: 255,
            minLength: 0,
            type: "string",
            description: "报修员名称",
          },
          reporterNo: {
            maxLength: 50,
            minLength: 0,
            type: "string",
            description: "报修员工号",
          },
          updateBy: { type: "string", description: "更新人工号" },
          updateTime: {
            type: "string",
            description: "更新时间",
            format: "date-time",
          },
        },
        description: "设备报修申请单",
      },
      EqRepairItemPO: {
        title: "EqRepairItemPO",
        type: "object",
        properties: {
          centerName: { type: "string", description: "设备所属生产中心名称" },
          centerNo: { type: "string", description: "设备所属生产中心编号" },
          completeTime: {
            type: "string",
            description: "完成时间",
            format: "date-time",
          },
          createBy: { type: "string", description: "创建人工号" },
          createTime: {
            type: "string",
            description: "创建时间",
            format: "date-time",
          },
          equipmentName: { type: "string", description: "设备名称" },
          equipmentNo: { type: "string", description: "设备编号" },
          faultDescription: { type: "string", description: "故障描述" },
          feedback: { type: "string", description: "结果反馈" },
          flag: {
            type: "integer",
            description: "使用标识 0正常，1失效",
            format: "int32",
          },
          id: { type: "integer", description: "物理主键", format: "int64" },
          maintainFlag: {
            type: "string",
            description: "维修状态: '0'待受理,'1'已受理,'2'处理中,'3'处理完成",
          },
          maintainResult: { type: "string", description: "维修结果" },
          maintainerName: { type: "string", description: "维修员名称" },
          maintainerNo: { type: "string", description: "维修员工号" },
          repairNo: { type: "string", description: "报修单号" },
          updateBy: { type: "string", description: "更新人工号" },
          updateTime: {
            type: "string",
            description: "更新时间",
            format: "date-time",
          },
        },
        description: "设备报修设备信息",
      },
      "IPage«EqBoundSkillPO»": {
        title: "IPage«EqBoundSkillPO»",
        type: "object",
        properties: {
          current: { type: "integer", format: "int64" },
          pages: { type: "integer", format: "int64" },
          records: {
            type: "array",
            items: { $ref: "#/components/schemas/EqBoundSkillPO" },
          },
          size: { type: "integer", format: "int64" },
          total: { type: "integer", format: "int64" },
        },
      },
      "IPage«EqCheckRecordPO»": {
        title: "IPage«EqCheckRecordPO»",
        type: "object",
        properties: {
          current: { type: "integer", format: "int64" },
          pages: { type: "integer", format: "int64" },
          records: {
            type: "array",
            items: { $ref: "#/components/schemas/EqCheckRecordPO" },
          },
          size: { type: "integer", format: "int64" },
          total: { type: "integer", format: "int64" },
        },
      },
      "IPage«EqRepairFormPO»": {
        title: "IPage«EqRepairFormPO»",
        type: "object",
        properties: {
          current: { type: "integer", format: "int64" },
          pages: { type: "integer", format: "int64" },
          records: {
            type: "array",
            items: { $ref: "#/components/schemas/EqRepairFormPO" },
          },
          size: { type: "integer", format: "int64" },
          total: { type: "integer", format: "int64" },
        },
      },
      "IPage«EqRepairItemPO»": {
        title: "IPage«EqRepairItemPO»",
        type: "object",
        properties: {
          current: { type: "integer", format: "int64" },
          pages: { type: "integer", format: "int64" },
          records: {
            type: "array",
            items: { $ref: "#/components/schemas/EqRepairItemPO" },
          },
          size: { type: "integer", format: "int64" },
          total: { type: "integer", format: "int64" },
        },
      },
      "PageRequest«EqBoundSkillPO»": {
        title: "PageRequest«EqBoundSkillPO»",
        type: "object",
        properties: {
          condition: {
            description: "查询条件",
            $ref: "#/components/schemas/EqBoundSkillPO",
          },
          currentPage: {
            type: "integer",
            description: "当前页",
            format: "int32",
          },
          pageSize: {
            type: "integer",
            description: "每页行数",
            format: "int32",
          },
        },
        description: "分页请求",
      },
      "PageRequest«EqCheckRecordPO»": {
        title: "PageRequest«EqCheckRecordPO»",
        type: "object",
        properties: {
          condition: {
            description: "查询条件",
            $ref: "#/components/schemas/EqCheckRecordPO",
          },
          currentPage: {
            type: "integer",
            description: "当前页",
            format: "int32",
          },
          pageSize: {
            type: "integer",
            description: "每页行数",
            format: "int32",
          },
        },
        description: "分页请求",
      },
      "PageRequest«EqInformationPO»": {
        title: "PageRequest«EqInformationPO»",
        type: "object",
        properties: {
          condition: {
            description: "查询条件",
            $ref: "#/components/schemas/EqInformationPO",
          },
          currentPage: {
            type: "integer",
            description: "当前页",
            format: "int32",
          },
          pageSize: {
            type: "integer",
            description: "每页行数",
            format: "int32",
          },
        },
        description: "分页请求",
      },
      "PageRequest«EqRepairFormPO»": {
        title: "PageRequest«EqRepairFormPO»",
        type: "object",
        properties: {
          condition: {
            description: "查询条件",
            $ref: "#/components/schemas/EqRepairFormPO",
          },
          currentPage: {
            type: "integer",
            description: "当前页",
            format: "int32",
          },
          pageSize: {
            type: "integer",
            description: "每页行数",
            format: "int32",
          },
        },
        description: "分页请求",
      },
      "PageRequest«EqRepairItemPO»": {
        title: "PageRequest«EqRepairItemPO»",
        type: "object",
        properties: {
          condition: {
            description: "查询条件",
            $ref: "#/components/schemas/EqRepairItemPO",
          },
          currentPage: {
            type: "integer",
            description: "当前页",
            format: "int32",
          },
          pageSize: {
            type: "integer",
            description: "每页行数",
            format: "int32",
          },
        },
        description: "分页请求",
      },
    },
  },
};
module.exports = {
  data,
};
